home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / internet-drafts / draft-ietf-mospf-analysis-02.txt < prev    next >
Text File  |  1993-07-26  |  32KB  |  783 lines

  1.  
  2. Network Working Group                                             J. Moy
  3. Internet Draft                                             Proteon, Inc.
  4. Expiration date: January 1994                                  July 1993
  5.  
  6.  
  7.                      MOSPF: Analysis and Experience
  8.  
  9.  
  10.  
  11. Status of this Memo
  12.  
  13.     This document is an Internet  Draft.  Internet  Drafts  are  working
  14.     documents  of the Internet Engineering Task Force (IETF), its Areas,
  15.     and its Working Groups. Note that other groups may  also  distribute
  16.     working documents as Internet Drafts.
  17.  
  18.     Internet Drafts are draft documents  valid  for  a  maximum  of  six
  19.     months.  Internet  Drafts  may be updated, replaced, or obsoleted by
  20.     other documents at any time. It is not appropriate to  use  Internet
  21.     Drafts as reference material or to cite them other than as a ``work-
  22.     ing  draft''  or  ``work  in  progress.''  Please  check  the   1id-
  23.     abstracts.txt listing contained in the internet-drafts Shadow Direc-
  24.     tories     on     nic.ddn.mil,     nnsc.nsf.net,      nic.nordu.net,
  25.     ftp.nisc.sri.com,  or  munnari.oz.au  to learn the current status of
  26.     any Internet Draft.
  27.  
  28. Abstract
  29.  
  30.     This memo documents how the MOSPF protocol  satisfies  the  require-
  31.     ments imposed on Internet routing protocols by "Internet Engineering
  32.     Task Force internet routing protocol standardization criteria" ([RFC
  33.     1264]).  This  memo provides information for the Internet community.
  34.     It does not specify any Internet standard. Distribution of this memo
  35.     is unlimited.
  36.  
  37.     Please send comments to mospf@gated.cornell.edu.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. [Moy]                                                           [Page 1]
  54.  
  55. Internet Draft       MOSPF: Analysis and Experience            July 1993
  56.  
  57.  
  58. 1.  Summary of MOSPF features and algorithms
  59.  
  60.     MOSPF is an enhancement of OSPF V2, enabling the routing of IP  mul-
  61.     ticast  datagrams.  OSPF is a link-state (unicast) routing protocol,
  62.     providing a database describing the  Autonomous  System's  topology.
  63.     IP  multicast is an extension of LAN multicasting to a TCP/IP Inter-
  64.     net.  IP Multicast permits an IP host  to  send  a  single  datagram
  65.     (called an IP multicast datagram) that will be delivered to multiple
  66.     destinations.  IP multicast datagrams are identified as those  pack-
  67.     ets  whose  destinations  are  class D IP addresses (i.e., addresses
  68.     whose first byte lies in the range 224-239 inclusive). Each class  D
  69.     address defines a multicast group.
  70.  
  71.     The extensions required of an IP host to participate  in  IP  multi-
  72.     casting are specified in "Host extensions for IP multicasting" ([RFC
  73.     1112]). That document defines a protocol, the Internet Group Manage-
  74.     ment  Protocol  (IGMP),  that  enables hosts to dynamically join and
  75.     leave multicast groups.
  76.  
  77.     MOSPF routers use the  IGMP  protocol  to  monitor  multicast  group
  78.     membership on local LANs through the sending of IGMP Host Membership
  79.     Queries and the reception of IGMP Host Membership Reports.  A  MOSPF
  80.     router  then  distributes this group location information throughout
  81.     the routing domain by flooding a new type of OSPF link state  adver-
  82.     tisement,  the  group-membership-LSA  (type 6). This in turn enables
  83.     the MOSPF routers to most efficiently forward a  multicast  datagram
  84.     to its multiple destinations: each router calculates the path of the
  85.     multicast datagram  as  a  shortest-path  tree  whose  root  is  the
  86.     datagram  source,  and  whose  terminal branches are LANs containing
  87.     group members.
  88.  
  89.     A separate tree is built for each [source network, multicast  desti-
  90.     nation]  combination.  To  ease  the  computational  demand  on  the
  91.     routers, these trees are built "on demand", i.e., the first  time  a
  92.     datagram  having a particular combination of source network and mul-
  93.     ticast destination is received. The results  of  these  "on  demand"
  94.     tree calculations are then cached for later use by subsequent match-
  95.     ing datagrams.
  96.  
  97.     MOSPF is meant to be used internal to a  single  Autonomous  System.
  98.     When  supporting  IP multicast over the entire Internet, MOSPF would
  99.     have to be used in concert with an inter-AS multicast routing proto-
  100.     col (something like DVMRP would work).
  101.  
  102.     The MOSPF protocol is based on the work of Steve Deering  in  [Deer-
  103.     ing].  The MOSPF specification is documented in [MOSPF].
  104.  
  105.  
  106.  
  107.  
  108.  
  109. [Moy]                                                           [Page 2]
  110.  
  111. Internet Draft       MOSPF: Analysis and Experience            July 1993
  112.  
  113.  
  114.     1.1.  Characteristics of the multicast datagram's path
  115.  
  116.         As a multicast datagram is  forwarded  along  its  shortest-path
  117.         tree,  the  datagram is delivered to each member of the destina-
  118.         tion multicast group. In MOSPF, the forwarding of the  multicast
  119.         datagram has the following properties:
  120.  
  121.         o   The path taken by a multicast datagram depends both  on  the
  122.             datagram's  source  and  its  multicast  destination. Called
  123.             source/destination routing, this is in contrast to most uni-
  124.             cast  datagram  forwarding algorithms (like OSPF) that route
  125.             based solely on destination.
  126.  
  127.         o   The path taken between the datagram's source and any partic-
  128.             ular  destination group member is the least cost path avail-
  129.             able. Cost is expressed in  terms  of  the  OSPF  link-state
  130.             metric.
  131.  
  132.         o   MOSPF takes advantage of any commonality of least cost paths
  133.             to  destination  group members. However, when members of the
  134.             multicast group are spread out over multiple  networks,  the
  135.             multicast  datagram must at times be replicated. This repli-
  136.             cation is performed as few times as possible  (at  the  tree
  137.             branches), taking maximum advantage of common path segments.
  138.  
  139.         o   For a given multicast datagram,  all  routers  calculate  an
  140.             identical  shortest-path  tree.  This  is possible since the
  141.             shortest-path tree is rooted at the datagram source, instead
  142.             of being rooted at the calculating router (as is done in the
  143.             unicast case). Tie-breakers  have  been  defined  to  ensure
  144.             that, when several equal-cost paths exist, all routers agree
  145.             on which single path to use. As a result, there is a  single
  146.             path between the datagram's source and any particular desti-
  147.             nation group member. This means that, unlike  OSPF's  treat-
  148.             ment  of regular (unicast) IP data traffic, there is no pro-
  149.             vision for equal-cost multipath.
  150.  
  151.         o   While MOSPF optimizes the path to any given group member, it
  152.             does not necessarily optimize the use of the internetwork as
  153.             a whole. To  do  so,  instead  of  calculating  source-based
  154.             shortest-path trees, something similar to a minimal spanning
  155.             tree (containing only the group members) would  need  to  be
  156.             calculated.  This  type of minimal spanning tree is called a
  157.             Steiner  tree  in  the  literature.  For  a  comparison   of
  158.             shortest-path  tree  routing to routing using Steiner trees,
  159.             see [Deering2] and [Bharath-Kumar].
  160.  
  161.  
  162.  
  163.  
  164.  
  165. [Moy]                                                           [Page 3]
  166.  
  167. Internet Draft       MOSPF: Analysis and Experience            July 1993
  168.  
  169.  
  170.         o   When forwarding a multicast datagram, MOSPF conforms to  the
  171.             link-layer   encapsulation   standards   for   IP  multicast
  172.             datagrams as specified in "Host extensions for IP multicast-
  173.             ing"  ([RFC  1112]),  "Transmission of IP datagrams over the
  174.             SMDS Service" ([RFC 1209]) and "Transmission of IP  and  ARP
  175.             over  FDDI Networks" ([RFC 1390]). In particular, for ether-
  176.             net and FDDI  the  explicit  mapping  between  IP  multicast
  177.             addresses and data-link multicast addresses is used.
  178.  
  179.     1.2.  Miscellaneous features
  180.  
  181.         This section lists, in no particular order,  the  other  miscel-
  182.         laneous features that the MOSPF protocol supports:
  183.  
  184.         o   MOSPF routers can be mixed within an Autonomous System  (and
  185.             even  within  a  single  OSPF  area) with non-multicast OSPF
  186.             routers. When this is done, all routers will interoperate in
  187.             the  routing  of  unicasts.  Unicast  routing  will  not  be
  188.             affected by this mixing; all unicast paths will be the  same
  189.             as before the introduction of multicast. This mixing of mul-
  190.             ticast and non-multicast routers enables phased introduction
  191.             of  a multicast capability into an internetwork. However, it
  192.             should be noted that some configurations of MOSPF  and  non-
  193.             MOSPF  routers  may produce unexpected failures in multicast
  194.             routing (see Section 6.1 of [MOSPF]).
  195.  
  196.         o   MOSPF does not  include  the  ability  to  tunnel  multicast
  197.             datagrams  through  non-multicast routers. A tunneling capa-
  198.             bility has proved valuable when used by the  DVMRP  protocol
  199.             in the MBONE. However, it is assumed that, since MOSPF is an
  200.             intra-AS protocol, multicast can be turned on in  enough  of
  201.             the Autonomous System's routers to achieve the required con-
  202.             nectivity without resorting to tunneling. The more  central-
  203.             ized  control  that  exists in most Autonomous Systems, when
  204.             compared to the Internet as a whole, should make this possi-
  205.             ble.
  206.  
  207.         o   In addition to calculating a separate datagram path for each
  208.             [source  network,  multicast destination] combination, MOSPF
  209.             can also vary the path based on IP Type of Service (TOS). As
  210.             with  OSPF  unicast  routing, TOS-based multicast routing is
  211.             optional, and routers supporting it can be freely mixed with
  212.             those that don't.
  213.  
  214.         o   MOSPF supports all network types that are supported  by  the
  215.             base OSPF protocol: broadcast networks, point-to-points net-
  216.             works and non-broadcast multi-access (NBMA)  networks.  Note
  217.             however  that IGMP is not defined on NBMA networks, so while
  218.  
  219.  
  220.  
  221. [Moy]                                                           [Page 4]
  222.  
  223. Internet Draft       MOSPF: Analysis and Experience            July 1993
  224.  
  225.  
  226.             these networks  can  support  the  forwarding  of  multicast
  227.             datagrams,  they  cannot  support  directly  connected group
  228.             members.
  229.  
  230.         o   MOSPF supports all Autonomous System configurations that are
  231.             supported by the base OSPF protocol. In particular, an algo-
  232.             rithm for forwarding multicast datagrams between OSPF  areas
  233.             is  included.  Also, areas with configured virtual links can
  234.             be used for transit multicast traffic.
  235.  
  236.         o   A way of forwarding multicast  datagrams  across  Autonomous
  237.             System boundaries has been defined. This means that a multi-
  238.             cast datagram having an external source can  still  be  for-
  239.             warded  throughout  the  Autonomous  System. Facilities also
  240.             exist for forwarding locally generated  datagrams  to  Auto-
  241.             nomous  System  exit  points, from which they can be further
  242.             distributed. The effectiveness of this support  will  depend
  243.             upon  the nature of the inter-AS multicast routing protocol.
  244.             The one assumption that has been made is that  the  inter-AS
  245.             multicast  routing  protocol will operate in an reverse path
  246.             forwarding (RPF) fashion: namely, that  multicast  datagrams
  247.             originating  from  an  external  source will enter the Auto-
  248.             nomous System at the same place that unicast datagrams  des-
  249.             tined for that source will exit.
  250.  
  251.         o   To deal with the fact that the external unicast  and  multi-
  252.             cast  topologies  will be different for some time to come, a
  253.             way to indicate that a route is available for multicast  but
  254.             not unicast (or vice versa) has been defined. This for exam-
  255.             ple would allow a MOSPF system to use DVMRP as its  inter-AS
  256.             multicast  routing protocol, while using BGP as its inter-AS
  257.             unicast routing protocol.
  258.  
  259.         o   For those physical networks that have been assigned multiple
  260.             IP network/subnet numbers, multicast routing can be disabled
  261.             on all but one OSPF interface to the physical network.  This
  262.             avoids unwanted replication of multicast datagrams.
  263.  
  264.         o   For those networks residing on Autonomous System boundaries,
  265.             which  may  be  running multiple multicast routing protocols
  266.             (or multiple copies of the same multicast routing protocol),
  267.             MOSPF  can  be configured to encapsulate multicast datagrams
  268.             with unicast (rather  than  multicast)  link-level  destina-
  269.             tions.   This  also avoids unwanted replication of multicast
  270.             datagrams.
  271.  
  272.         o   MOSPF provides an optimization for IP multicast's "expanding
  273.             ring  search" (sometimes called "TTL scoping") procedure. In
  274.  
  275.  
  276.  
  277. [Moy]                                                           [Page 5]
  278.  
  279. Internet Draft       MOSPF: Analysis and Experience            July 1993
  280.  
  281.  
  282.             an expanding ring search, an application finds  the  nearest
  283.             server  by  sending  out  successive multicasts, each with a
  284.             larger TTL. The first responding server  will  then  be  the
  285.             closest  (in  terms of hops, but not necessarily in terms of
  286.             the OSPF metric). MOSPF minimizes the network bandwidth con-
  287.             sumed  by  an  expanding  ring search by refusing to forward
  288.             multicast datagrams whose TTL is too small to ever  reach  a
  289.             group member.
  290.  
  291. 2.  Security architecture
  292.  
  293.     All MOSPF protocol packet exchanges (excluding IGMP)  are  specified
  294.     by the base OSPF protocol, and as such are authenticated. For a dis-
  295.     cussion of  OSPF's  authentication  mechanism,  see  Appendix  D  of
  296.     [OSPF].
  297.  
  298. 3.  MIB support
  299.  
  300.     Management support for MOSPF has been added to the base OSPF V2  MIB
  301.     [OSPF MIB]. These additions consist of the ability to read and write
  302.     the configuration parameters specified  in  Section  B  of  [MOSPF],
  303.     together with the ability to dump the new group-membership-LSAs.
  304.  
  305. 4.  Implementations
  306.  
  307.     There is currently one MOSPF  implementation,  written  by  Proteon,
  308.     Inc.   It  was  released for general use in April 1992. It is a full
  309.     MOSPF implementation, with  the  exception  of  TOS-based  multicast
  310.     routing. It also does not contain an inter-AS multicast routing pro-
  311.     tocol.
  312.  
  313.     The multicast applications included with the Proteon MOSPF implemen-
  314.     tation  include:  a  multicast  pinger, console commands so that the
  315.     router itself can join and leave multicast groups (and so respond to
  316.     multicast  pings), and the ability to send SNMP traps to a multicast
  317.     address. Proteon is also using IP multicast to support the tunneling
  318.     of  other  protocols over IP.  For example, source route bridging is
  319.     tunneled over a MOSPF domain, using one  IP  multicast  address  for
  320.     explorer   frames   and   mapping  the  segment/bridge  found  in  a
  321.     specifically-routed  frame's  RIF  field  to  other   IP   multicast
  322.     addresses.   This last application has proved popular, since it pro-
  323.     vides a lightweight transport that is resistant to reordering.
  324.  
  325.     The Proteon MOSPF implementation is currently  running  in  approxi-
  326.     mately a dozen sites, each site consisting of 10-20 routers.
  327.  
  328.     Table 1 gives a comparison between the code size of  Proteon's  base
  329.     OSPF  implementation and its MOSPF implementation. Two dimensions of
  330.  
  331.  
  332.  
  333. [Moy]                                                           [Page 6]
  334.  
  335. Internet Draft       MOSPF: Analysis and Experience            July 1993
  336.  
  337.  
  338.  
  339.  
  340.                       lines of C   bytes of 68020 object code
  341.           ___________________________________________________
  342.           OSPF base   11,693       63,160
  343.           MOSPF       15,247       81,956
  344.  
  345.             Table 1: Comparison of OSPF and MOSPF code sizes
  346.  
  347.     size are indicated: lines of C (comments and blanks  included),  and
  348.     bytes  of 68020 object code. In both cases, the multicast extensions
  349.     to OSPF have engendered a 30% size increase.
  350.  
  351.     Note that in these sizes, the code used to configure and monitor the
  352.     implementation  has been included. Also, in the MOSPF code size fig-
  353.     ure, the IGMP implementation has been included.
  354.  
  355. 5.  Testing
  356.  
  357.     Figure 1 shows the topology that was used for the initial  debugging
  358.     of  Proteon's  MOSPF  implementation.  It  consists  of  seven MOSPF
  359.     routers, interconnected by ethernets, token rings, FDDIs and  serial
  360.     lines. The applications used to test the routing were multicast ping
  361.     and the sending of traps to a multicast  address  (the  box  labeled
  362.     "NAZ" was a network analyzer that was occasionally sending IGMP Host
  363.     Membership Reports and then continuously  receiving  multicast  SNMP
  364.     traps). The "vat" application was also used on workstations (without
  365.     running the DVMRP "mrouted" daemon; see "Distance  Vector  Multicast
  366.     Routing  Protocol", [RFC 1075]) which were multicasting packet voice
  367.     across the MOSPF domain.
  368.  
  369.  
  370.     The MOSPF features tested in this setup were:
  371.  
  372.     o   Re-routing in response to topology changes.
  373.  
  374.     o   Path verification after altering costs.
  375.  
  376.     o   Routing multicast datagrams between areas.
  377.  
  378.     o   Routing multicast datagrams to and from external addresses.
  379.  
  380.     o   The various  tiebreakers  employed  when  constructing  datagram
  381.         shortest-path trees.
  382.  
  383.     o   MOSPF over non-broadcast multi-access networks.
  384.  
  385.  
  386.  
  387.  
  388.  
  389. [Moy]                                                           [Page 7]
  390.  
  391. Internet Draft       MOSPF: Analysis and Experience            July 1993
  392.  
  393.  
  394.  
  395.                                               +---+
  396.               +-------------------------------|RT1|
  397.               |                               +---+
  398.               |             +---------+         |
  399.               |                  |              |
  400.               |  +---+         +---+    +---+   |
  401.               |  |RT5|---------|RT2|    |NAZ|   |
  402.               |  +---+    +----+---+    +---+   |
  403.               |           |      |        |     |
  404.               |           |   +------------------------+
  405.               |           |                         |      +
  406.               |           |                         |      |
  407.               |           |                         |      |  +---+
  408.               |   +------------+      +             |      |--|RT7|
  409.               |            |          |             |      |  +---+
  410.               |          +---+        |           +---+    |
  411.               |          |RT4|--------|-----------|RT3|----|
  412.               |          +---+        |           +---+    |
  413.               |                       |                    |
  414.               |               +       +                    |
  415.               |               |           +---+            |
  416.               +---------------|-----------|RT6|------------|
  417.                               |           +---+            |
  418.                               +                            +
  419.  
  420.                   Figure 1: Initial MOSPF test setup
  421.  
  422.  
  423.     o   Interoperability of MOSPF and non-multicast OSPF routers.
  424.  
  425.     Due to the commercial tunneling applications  developed  by  Proteon
  426.     that use IP multicast, MOSPF has been deployed in a number of opera-
  427.     tional  but  non-Internet-connected  sites.  MOSPF  has  been   also
  428.     deployed in some Internet-connected sites (e.g., OARnet) for testing
  429.     purposes. The desire of these sites is to use MOSPF to attach to the
  430.     "mbone".   However, an implementation of both MOSPF and DVMRP in the
  431.     same box is needed; without this  one  way  communication  has  been
  432.     achieved (sort of like lecture mode in vat) by configuring multicast
  433.     static routes in the MOSPF implementation. The problem is that there
  434.     is no current way to inject the MOSPF source information into DVMRP.
  435.  
  436.     The MOSPF features that have not yet been tested are:
  437.  
  438.     o   The interaction between MOSPF and virtual links.
  439.  
  440.     o   Interaction between MOSPF and other multicast routing  protocols
  441.         (e.g., DVMRP).
  442.  
  443.  
  444.  
  445. [Moy]                                                           [Page 8]
  446.  
  447. Internet Draft       MOSPF: Analysis and Experience            July 1993
  448.  
  449.  
  450.     o   TOS-based routing in MOSPF.
  451.  
  452. 6.  A brief analysis of MOSPF scaling
  453.  
  454.     MOSPF uses the Dijkstra algorithm to calculate the path of a  multi-
  455.     cast  datagram  through any given OSPF area. This calculation encom-
  456.     passes all the transit nodes (routers and networks) in the area; its
  457.     cost  scales  as  O(N*log(N)) where N is the number of transit nodes
  458.     (same as the cost of the OSPF unicast  intra-area  routing  calcula-
  459.     tion). This is the cost of a single path calculation; however, MOSPF
  460.     calculates a separate path for each [source network, multicast  des-
  461.     tination, TOS] tuple. This is potentially a lot of Dijkstra calcula-
  462.     tions.
  463.  
  464.     MOSPF proposes to deal with this calculation burden  by  calculating
  465.     datagram  paths in an "on demand" fashion. That is, the path is cal-
  466.     culated only when receiving the first datagram in  a  stream.  After
  467.     the  calculation,  the  results are cached for use by later matching
  468.     datagrams. This on demand calculation alleviates  the  cost  of  the
  469.     routing calculations in two ways: 1) It spreads the routing calcula-
  470.     tions out over time and 2) the router does fewer calculations, since
  471.     it  does  not  even calculate the paths of datagrams whose path will
  472.     not even touch the router.
  473.  
  474.     Cache entries need never be timed out, although they are removed  on
  475.     topological  changes.  If  an  implementation  chooses  to limit the
  476.     amount of  memory  consumed  by  the  cache,  probably  by  removing
  477.     selected  entries, care must be taken to ensure that cache thrashing
  478.     does not occur.
  479.  
  480.     The effectiveness of this "on demand" calculation will  need  to  be
  481.     proven  over  time,  as  multicast usage and traffic patterns become
  482.     more evident.
  483.  
  484.     As a simple example, suppose an OSPF area consists of  200  routers.
  485.     Suppose  each router represents a site, and each site is participat-
  486.     ing simultaneously with three other local sites (inside the area) in
  487.     a  video  conference. This gives 200/4 = 50 groups, and 200 separate
  488.     datagram trees. Assuming  each  datagram  tree  goes  through  every
  489.     router (which probably won't be true), each router will be doing 200
  490.     Dijkstras initially (and on internal topology changes). The time  to
  491.     run  a  200 node Dijkstra on a 10 mips processor was estimated to be
  492.     15 milliseconds in "OSPF protocol analysis" ([RFC 1245]). So if  all
  493.     200  Dijkstras need to be done at once, it will take 3 seconds total
  494.     on a 10 mips processor. In contrast, assuming each video  stream  is
  495.     64Kb/sec,  the  routers will constantly forward 12Mb/sec of applica-
  496.     tion data (the cost of this soon dwarfing the  cost  of  the  Dijks-
  497.     tras).
  498.  
  499.  
  500.  
  501. [Moy]                                                           [Page 9]
  502.  
  503. Internet Draft       MOSPF: Analysis and Experience            July 1993
  504.  
  505.  
  506.     In this example there are  also  200  group-membership-LSAs  in  the
  507.     area;  since each group membership-LSA is around 64 bytes, this adds
  508.     64*200 = 12K bytes to the OSPF link state database.
  509.  
  510.     Other things to keep in mind when evaluating  the  cost  of  MOSPF's
  511.     routing calculation are:
  512.  
  513.     o   Assuming that the guidelines of "OSPF protocol  analysis"  ([RFC
  514.         1245]) are followed and areas are limited to 200 nodes, the cost
  515.         of the Dijkstra will not grow unbounded,  but  will  instead  be
  516.         capped at the Dijkstra for 200 nodes.  One need then worry about
  517.         the number of Dijkstras, which is determined by  the  number  of
  518.         [datagram source, multicast destination] combinations.
  519.  
  520.     o   A datagram whose destination has no group members in the  domain
  521.         can  still  be  forwarded through the MOSPF system. However, the
  522.         Dijkstra calculation here depends only on the [datagram  source,
  523.         TOS],  since  the datagram will be forwarded along to "wild-card
  524.         receivers" only. Since the number of  group  members  in  a  200
  525.         router  area  is  probably  also  bounded,  the  possibility  of
  526.         unbounded calculation growth lies  in  the  number  of  possible
  527.         datagram  sources. (However, it should be noted that some future
  528.         multicast applications, such as distributed computing, may  gen-
  529.         erate a large number of short-lived multicast groups).
  530.  
  531.     o   By collapsing routing information before importing it  into  the
  532.         area/AS,  the  number of sources can be reduced dramatically. In
  533.         particular, if the AS relies on a default external  route,  most
  534.         external  sources  will be covered by a single Dijkstra calcula-
  535.         tion (the one using 0.0.0.0 as the source).
  536.  
  537.     One other factor to be considered in  MOSPF  scaling  is  how  often
  538.     cache  entries  need  to  be  recalculated, as a result of a network
  539.     topology change. The rules for MOSPF cache maintenance are explained
  540.     in  Section  13  of [MOSPF]. Note that the further away the topology
  541.     change happens from the calculating router, the fewer cache  entries
  542.     need  to be recalculated. For example, if an external route changes,
  543.     many fewer cache entries need to be purged as compared to  a  change
  544.     in  a  MOSPF  domain's  internal link. For scaling purposes, this is
  545.     exactly the desired behavior. Note  that  "OSPF  protocol  analysis"
  546.     ([RFC  1245])  bears this out when it shows that changes in external
  547.     routes (on the order of once a minute for the networks surveyed) are
  548.     much  more frequent than internal changes (between 15 and 50 minutes
  549.     for the networks surveyed).
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557. [Moy]                                                          [Page 10]
  558.  
  559. Internet Draft       MOSPF: Analysis and Experience            July 1993
  560.  
  561.  
  562. 7.  Known difficulties
  563.  
  564.     The following are known difficulties with the MOSPF protocol:
  565.  
  566.     o   When a MOSPF router itself contains multicast applications,  the
  567.         choice  of its application datagrams' source addresses should be
  568.         made with care.  Due to OSPF's representation of  serial  lines,
  569.         using  a  serial  line  interface  address as source can lead to
  570.         excess data traffic on the  serial  line.  In  fact,  using  any
  571.         interface address as source can lead to excess traffic, owing to
  572.         MOSPF's decision to always multicast the packet onto the  source
  573.         network  as  part of the forwarding process (see Section 11.3 of
  574.         [MOSPF]). However, optimal behavior can be achieved by assigning
  575.         the  router  an interface-independent address, and using this as
  576.         the datagram source.
  577.  
  578.         This concern does not apply to regular  IP  hosts  (i.e.,  those
  579.         that are not MOSPF routers).
  580.  
  581.     o   It is necessary to ensure, when mixing MOSPF  and  non-multicast
  582.         routers on a LAN, that a MOSPF router becomes Designated Router.
  583.         Otherwise multicast datagrams will not be forwarded on the  LAN,
  584.         nor  will group membership be monitored on the LAN, nor will the
  585.         group-membership-LSAs be flooded over the LAN. This  can  be  an
  586.         operational  nuisance,  since  OSPF's Designated Router election
  587.         algorithm is designed to discourage  Designated  Router  transi-
  588.         tions,  rather  than  to  guarantee  that certain routers become
  589.         Designated Router. However, assigning a DR Priority of 0 to  all
  590.         non-multicast  routers will always guarantee that a MOSPF router
  591.         is selected as Designated Router.
  592.  
  593. 8.  Future work
  594.  
  595.     In the future, it is expected that the following work will  be  done
  596.     on the MOSPF protocol:
  597.  
  598.     o   More analysis of multicast traffic patterns needs to be done, in
  599.         order to see whether the MOSPF routing calculations will pose an
  600.         undue processing burden  on  multicast  routers.  If  necessary,
  601.         further  ways  to  ease  this burden may need to be defined. One
  602.         suggestion that has been made is to revert to reverse path  for-
  603.         warding  when  the  router  is  unable to calculate the detailed
  604.         MOSPF forwarding cache entries.
  605.  
  606.     o   Experience needs to be gained with the interactions between mul-
  607.         tiple multicast routing algorithms (e.g., MOSPF and DVMRP).
  608.  
  609.  
  610.  
  611.  
  612.  
  613. [Moy]                                                          [Page 11]
  614.  
  615. Internet Draft       MOSPF: Analysis and Experience            July 1993
  616.  
  617.  
  618.     o   Additional MIB support for the  retrieval  of  forwarding  cache
  619.         entries,  along the lines of the "IP forwarding table MIB" ([RFC
  620.         1354]), would be useful.
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669. [Moy]                                                          [Page 12]
  670.  
  671. Internet Draft       MOSPF: Analysis and Experience            July 1993
  672.  
  673.  
  674. 9.  References
  675.  
  676.     [Bharath-Kumar] Bharath-Kumar, K. and Jaffe, J. M. Routing to multi-
  677.                     ple destinations in Computer Networks. IEEE Transac-
  678.                     tions on Communications, COM-31[3], March 1983.
  679.  
  680.     [Deering]       Deering, S. Multicast Routing in  Internetworks  and
  681.                     Extended  LANs.   SIGCOMM  Summer  1988 Proceedings,
  682.                     August 1988.
  683.  
  684.     [Deering2]      Deering, S. Multicast routing in a  datagram  inter-
  685.                     network.  Stanford Technical Report STAN-CS-92-1415,
  686.                     Department of Computer Science, Stanford University,
  687.                     December 1991.
  688.  
  689.     [OSPF]          Moy, J. OSPF Version 2. Internet Draft. March 1993.
  690.  
  691.     [OSPF MIB]      Baker F. and Coltun R.  OSPF  Version  2  Management
  692.                     Information Base.  Internet Draft. November 1992.
  693.  
  694.     [MOSPF]         Moy,  J.  Multicast  Extensions  to  OSPF.  Internet
  695.                     Draft. March 1993.
  696.  
  697.     [RFC 1075]      Waitzman, D., Partridge, C. and Deering, S. Distance
  698.                     Vector   Multicast   Routing   Protocol.  RFC  1175,
  699.                     November 1988.
  700.  
  701.     [RFC 1112]      Deering, S.E. Host extensions for  IP  multicasting.
  702.                     RFC 1112, May 1988.
  703.  
  704.     [RFC 1209]      Piscitello, D.M. Transmission of IP  datagrams  over
  705.                     the SMDS Service.  RFC 1209, March 1991.
  706.  
  707.     [RFC 1245]      Moy, J.,ed. OSPF protocol analysis. RFC  1245,  July
  708.                     1991.
  709.  
  710.     [RFC 1246]      Moy, J.,ed. Experience with the OSPF  protocol.  RFC
  711.                     1245, July 1991.
  712.  
  713.     [RFC 1264]      Hinden, R. Internet Routing Protocol Standardization
  714.                     Criteria. RFC 1264, October 1991.
  715.  
  716.     [RFC 1390]      Katz, D. Transmission of IP and ARP over  FDDI  Net-
  717.                     works. RFC 1390, January 1993.
  718.  
  719.     [RFC 1354]      Baker, F. IP forwarding table MIB.  RFC  1354,  July
  720.                     1992.
  721.  
  722.  
  723.  
  724.  
  725. [Moy]                                                          [Page 13]
  726.  
  727. Internet Draft       MOSPF: Analysis and Experience            July 1993
  728.  
  729.  
  730. Security Considerations
  731.  
  732.     Security issues are not discussed in this memo.
  733.  
  734. Author's Address
  735.  
  736.     John Moy
  737.     Proteon, Inc.
  738.     9 Technology Drive
  739.     Westborough, MA 01581
  740.     Phone: (508) 898-2800
  741.     Email: jmoy@proteon.com
  742.  
  743.     This document expires in January 1994.
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781. [Moy]                                                          [Page 14]
  782.  
  783.